home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19980901-19981211 / 000407_news@newsmaster….columbia.edu _Tue Dec 8 12:59:52 1998.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA07826
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Tue, 8 Dec 1998 12:59:51 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id MAA29621
  7.     for kermit.misc@watsun; Tue, 8 Dec 1998 12:59:51 -0500 (EST)
  8. Path: news.columbia.edu!news.new-york.net!newsfeed.wirehub.nl!bullseye.news.demon.net!demon!news.demon.co.uk!demon!ccastat.demon.co.uk!not-for-mail
  9. From: Chris Sharman <Chris.Sharman@CCAgroup.co.uk>
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: Changes 5A(190) -> 6.0(192) on VMS Alpha V7.1
  12. Date: Tue, 08 Dec 1998 15:59:27 +0000
  13. Organization: CCA Group
  14. Message-ID: <366D4CDF.6603B5C4@CCAgroup.co.uk>
  15. References: <366D2E6A.29BAB524@CCAgroup.co.uk> <74jfgs$ab4$1@apakabar.cc.columbia.edu>
  16. NNTP-Posting-Host: ccastat.demon.co.uk
  17. X-NNTP-Posting-Host: ccastat.demon.co.uk:158.152.158.126
  18. X-Trace: news.demon.co.uk 913132763 nnrp-08:6539 NO-IDENT ccastat.demon.co.uk:158.152.158.126
  19. X-Complaints-To: abuse@demon.net
  20. X-Mailer: Mozilla 3.03Gold (X11; I; OpenVMS V7.1     AlphaStation 255/233)
  21. MIME-Version: 1.0
  22. Content-Type: text/plain; charset=us-ascii
  23. Content-Transfer-Encoding: 7bit
  24. Lines: 43
  25. Xref: news.columbia.edu comp.protocols.kermit.misc:9614
  26.  
  27. VMS doesn't seem to care whether there's space around the '=', although
  28. if there isn't I have to use \fsubstr(\&@[1],2) to strip the = off the
  29. first parameter.
  30. It won't accept either -- or = unless there's other switches or a
  31. cmdfile preceding, as 5A used to.
  32. It complains about '--' when it gets around to processing it as well.
  33. What is getopt ? is it some sort of Unix thing ? (the only earlier
  34. thread I found seemed to suggest it might be)
  35. I just want to invoke kermit to use an embedded script in batch mode,
  36. and pass in a couple of parameters.
  37. No filename, no switches, just parameters.
  38.  
  39. Frank da Cruz wrote:
  40. > In article <366D2E6A.29BAB524@CCAgroup.co.uk>,
  41. > Chris Sharman  <Chris.Sharman@CCAgroup.co.uk> wrote:
  42. > : I just tried out the 6.0 image, and it's not letting me provide
  43. > : parameters like I used to:
  44. > :
  45. > : $ mcr ckermit =param1 param2
  46. > : my script ...
  47. > : ...
  48. > : $
  49. > :
  50. > : used to work fine on 5A(190), but 6.0(192) tells me "?No files match -
  51. > : =param1".  I put a redundant switch on (-m hayes), but the "m" was
  52. > : then found as the first parameter by my script.  Is there a better way
  53. > : to pass in values, or am I reading them wrong, or what ?
  54. > :
  55. > It's a bug in 6.1.  It will be fixed in the next test version, to be
  56. > announced soon.
  57. > But not that in any case, you need space both before and after the "="
  58. > if you intend it to be the parameter separator.  Also (refer to earlier
  59. > thread on this topic), this form, though still supported, is
  60. > "deprecated" in favor of the getopt()-style "--", as in:
  61. >   kermit filename -x -x -x -- p1 p2 p3
  62. > where the -x's are Kermit options, and the pn's are paramaters for the
  63. > script "filename".
  64. > - Frank